package com.miracle.main.adapter;

import android.support.annotation.Nullable;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.miracle.main.R;

import java.util.List;

/**
 * com.miracle.main.adapter
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/7/13 10:12
 * @see com.miracle.main.adapter
 */
public class FileAdapter extends BaseQuickAdapter<String,BaseViewHolder>{
    public FileAdapter(int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        ((TextView)helper.itemView.findViewById(R.id.tv)).setText(item);
    }
}
